package com.yitongmao.bean;

import java.util.List;

/*
* 作者：梁伟航 on 2017/7/31 15:55
* 类的用途：
*/
public class DingDanAllBean {

    /**
     * result : {"state":"1","code":"SUCCESS","url":null,"obj":null,"isRollBack":null,"message":"查询成功!"}
     * orderList : [{"orderId":31,"orderCode":"2017314520001","state":"00","stateName":"未付款","totalPrice":3000,"createTime":"2017-07-28 16:29:31","type":"00","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":null},{"orderId":30,"orderCode":"2017306130001","state":"01","stateName":"已付款","totalPrice":3000,"createTime":"2017-07-28 16:19:21","type":"00","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":null},{"orderId":29,"orderCode":"2017296800001","state":"02","stateName":"待发货","totalPrice":3000,"createTime":"2017-07-28 16:14:07","type":"01","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":{"reservePrice":900,"finalPrice":2100,"reserveState":"00","finalState":"00","earnestDepic":null}},{"orderId":28,"orderCode":"2017283820001","state":"03","stateName":"待收货","totalPrice":3000,"createTime":"2017-07-28 11:28:54","type":"01","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":{"reservePrice":null,"finalPrice":null,"reserveState":"00","finalState":"00","earnestDepic":null}},{"orderId":27,"orderCode":"2017271490001","state":"04","stateName":"已完成","totalPrice":3000,"createTime":"2017-07-28 10:21:57","type":"01","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":{"reservePrice":null,"finalPrice":null,"reserveState":"00","finalState":"00","earnestDepic":null}},{"orderId":26,"orderCode":"2017261870001","state":"05","stateName":"已取消","totalPrice":3000,"createTime":"2017-07-28 10:19:22","type":"01","version":0,"orderGoods":[{"followId":0,"goodsId":15,"title":"【越南】红心火龙果 (中箱/大果)","goodsThumb":"http://demo-file.cdtupsmfw.com/images/2017/07/18/1500363947501840_thumb.jpg","tradePrice":3000,"number":1,"state":null}],"orderType":{"reservePrice":null,"finalPrice":null,"reserveState":"00","finalState":"00","earnestDepic":null}}]
     */

    public ResultBean result;
    public List<OrderListBean> orderList;

    public static class ResultBean {
        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;
    }
    public static class OrderListBean {
        public int orderId;
        public String orderCode;
        public String state;
        public String stateName;
        public double totalPrice;
        public String createTime;
        public String type;
        public int version;
        public Object orderType;
        public List<OrderGoodsBean> orderGoods;

        public static class OrderGoodsBean {

            public int followId;
            public int goodsId;
            public String title;
            public String goodsThumb;
            public double tradePrice;
            public int number;
            public Object state;
        }
    }
}
